package com.sxz.sbs.module.staff.mode;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * 员工管理模块 -- 界面传递对象
 */

public class StaffIntentBean implements Parcelable {
    private int parkingId;
    private String parkingName;
    /**
     * 操作类型
     */
    private int disposeType;
    private String tag;
    /**
     * 被操作人Id
     */
    private int disposeId;
    private String headUrl;
    private String staffName;
    private String staffPhone;
    private int swapParkingId;
    private int selectedParkingId;

    public int getSelectedParkingId() {
        return selectedParkingId;
    }

    public void setSelectedParkingId(int selectedParkingId) {
        this.selectedParkingId = selectedParkingId;
    }

    public int getSwapParkingId() {
        return swapParkingId;
    }

    public void setSwapParkingId(int swapParkingId) {
        this.swapParkingId = swapParkingId;
    }

    public String getHeadUrl() {
        return headUrl;
    }

    public void setHeadUrl(String headUrl) {
        this.headUrl = headUrl;
    }

    public String getStaffName() {
        return staffName;
    }

    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }

    public String getStaffPhone() {
        return staffPhone;
    }

    public void setStaffPhone(String staffPhone) {
        this.staffPhone = staffPhone;
    }

    public int getDisposeId() {
        return disposeId;
    }

    public void setDisposeId(int disposeId) {
        this.disposeId = disposeId;
    }

    public int getParkingId() {
        return parkingId;
    }

    public void setParkingId(int parkingId) {
        this.parkingId = parkingId;
    }

    public String getParkingName() {
        return parkingName;
    }

    public void setParkingName(String parkingName) {
        this.parkingName = parkingName;
    }

    public int getDisposeType() {
        return disposeType;
    }

    public void setDisposeType(int disposeType) {
        this.disposeType = disposeType;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public StaffIntentBean() {
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(this.parkingId);
        dest.writeString(this.parkingName);
        dest.writeInt(this.disposeType);
        dest.writeString(this.tag);
        dest.writeInt(this.disposeId);
        dest.writeString(this.headUrl);
        dest.writeString(this.staffName);
        dest.writeString(this.staffPhone);
        dest.writeInt(this.swapParkingId);
        dest.writeInt(this.selectedParkingId);
    }

    protected StaffIntentBean(Parcel in) {
        this.parkingId = in.readInt();
        this.parkingName = in.readString();
        this.disposeType = in.readInt();
        this.tag = in.readString();
        this.disposeId = in.readInt();
        this.headUrl = in.readString();
        this.staffName = in.readString();
        this.staffPhone = in.readString();
        this.swapParkingId = in.readInt();
        this.selectedParkingId = in.readInt();
    }

    public static final Creator<StaffIntentBean> CREATOR = new Creator<StaffIntentBean>() {
        @Override
        public StaffIntentBean createFromParcel(Parcel source) {
            return new StaffIntentBean(source);
        }

        @Override
        public StaffIntentBean[] newArray(int size) {
            return new StaffIntentBean[size];
        }
    };
}
